33 lines
791 B
YAML
33 lines
791 B
YAML
version: '2'
|
|
|
|
services:
|
|
|
|
coldcms:
|
|
image: coldcms/coldcms-backend:latest
|
|
volumes:
|
|
- $DATA_DIR/coldcms:/srv/build
|
|
- $DATA_DIR/db:/var/db
|
|
environment:
|
|
- DJANGO_SETTINGS_MODULE=coldcms.settings
|
|
- DB_URL=sqlite:////var/db/database.sqlite3
|
|
- BUILD_DIR=/srv/build
|
|
- STATIC_ROOT=/srv/build/static/
|
|
- ALLOWED_HOSTS=$JC_SERVICE
|
|
- SECRET_KEY=275bLEjLIsDg19HkIcjjwgdC41zcyTAc1y527VuX23khKUZGRCMybChydeBKFNJVjhD0KMrzIeLbMlS30IxPhfqLAcR2OK0LVxOu4G8dgx3p2pia4SUFm39tOznKZ0Kt9IdbX
|
|
restart: unless-stopped
|
|
networks:
|
|
default:
|
|
ipv4_address: 172.29.20.100
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.50'
|
|
memory: 500M
|
|
|
|
|
|
networks:
|
|
default:
|
|
ipam:
|
|
config:
|
|
- subnet: 172.29.20.0/24
|