jean-cloud-services/services/benevoles31.karnaval.fr/docker-compose.yml

63 lines
1.8 KiB
YAML
Raw Normal View History

2023-06-08 07:34:51 +00:00
version: '3'
services:
app:
image: jeancloud/site-benevole:dev-karna-debian
environment:
UID: 33
MOUNT: /
volumes:
- /tmp/uwsgi/$JC_SERVICE:/tmp/uwsgi
- $DATA_DIR/assets:/usr/src/app/assets
- $DATA_DIR/media:/usr/src/app/media
- $DATA_DIR/local_settings.py:/usr/src/app/site_benevole/local_settings.py
restart: unless-stopped
networks:
default:
2024-01-02 16:50:14 +00:00
ipv4_address: $NET.100
2023-06-08 07:34:51 +00:00
2023-07-06 15:37:16 +00:00
#redis:
# image: redis
2023-06-08 07:34:51 +00:00
db:
image: postgres:9.6-alpine
env_file: $DATA_DIR/postgres.env
environment:
POSTGRES_USER: benevoles
POSTGRES_DB: benevoles
volumes:
- $DATA_DIR/db:/var/lib/postgresql/data
networks:
default:
2024-01-02 16:50:14 +00:00
ipv4_address: $NET.101
2023-06-08 07:34:51 +00:00
# app2:
# image: jeancloud/site-benevole:dev-karna-debian
# environment:
# UID: 33
# MOUNT: /
# volumes:
# - /tmp/uwsgi/app2/$JC_SERVICE:/tmp/uwsgi
# - $DATA_DIR/app2/assets:/usr/src/app/assets
# - $DATA_DIR/app2/media:/usr/src/app/media
# - $DATA_DIR/app2/local_settings.py:/usr/src/app/site_benevole/local_settings.py
# restart: unless-stopped
# networks:
# default:
2024-01-02 16:50:14 +00:00
# ipv4_address: $NET.110
2023-06-08 07:34:51 +00:00
#
# db2:
# image: postgres:9.6-alpine
# env_file: $DATA_DIR/postgres.env
# environment:
# POSTGRES_USER: benevoles
# POSTGRES_DB: benevoles
# volumes:
# - $DATA_DIR/db2:/var/lib/postgresql/data
# networks:
# default:
2024-01-02 16:50:14 +00:00
# ipv4_address: $NET.111
2023-06-08 07:34:51 +00:00
networks:
default:
ipam:
config:
2024-01-02 16:50:14 +00:00
- subnet: $NET.0/24