2018-11-19 23:28:40 +01:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
db:
|
2020-03-02 16:49:23 +01:00
|
|
|
image: gnuviech/pgsql:buster
|
2018-11-19 23:28:40 +01:00
|
|
|
ports:
|
|
|
|
- "15432:5432"
|
|
|
|
env_file: .env
|
|
|
|
volumes:
|
2020-03-02 16:49:23 +01:00
|
|
|
- "pg_data:/var/lib/postgresql/11/main"
|
2018-11-19 23:28:40 +01:00
|
|
|
mq:
|
2020-03-02 16:49:23 +01:00
|
|
|
image: gnuviech/mq:buster
|
2018-11-19 23:28:40 +01:00
|
|
|
env_file: .env
|
|
|
|
volumes:
|
|
|
|
- "mq_data:/var/lib/rabbitmq/mnesia"
|
|
|
|
redis:
|
2020-03-02 16:49:23 +01:00
|
|
|
image: gnuviech/redis:buster
|
2018-11-19 23:28:40 +01:00
|
|
|
env_file: .env
|
|
|
|
volumes:
|
|
|
|
- "redis_data:/var/lib/redis"
|
|
|
|
gva:
|
2020-03-03 13:10:09 +01:00
|
|
|
image: gnuviech/gva:buster
|
2018-11-19 23:28:40 +01:00
|
|
|
build:
|
|
|
|
context: .
|
2020-03-03 13:10:09 +01:00
|
|
|
args:
|
|
|
|
GVAGID: 1000
|
|
|
|
GVAUID: 1000
|
2018-11-19 23:28:40 +01:00
|
|
|
ports:
|
|
|
|
- "8000:8000"
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
- mq
|
|
|
|
- redis
|
|
|
|
env_file: .env
|
|
|
|
environment:
|
|
|
|
DJANGO_SETTINGS_MODULE: gnuviechadmin.settings
|
|
|
|
GVA_DOMAIN_NAME: localhost
|
|
|
|
GVA_SITE_NAME: localhost
|
|
|
|
volumes:
|
2020-03-03 13:10:09 +01:00
|
|
|
- "./docker/django_media:/srv/gva/media"
|
|
|
|
- "./docker/django_static:/srv/gva/static"
|
|
|
|
- ".:/srv/gva"
|
|
|
|
web:
|
|
|
|
image: gnuviech/gvaweb:buster
|
|
|
|
build:
|
|
|
|
context: ../gvaweb
|
|
|
|
args:
|
|
|
|
GVAGID: 1000
|
|
|
|
GVAUID: 1000
|
|
|
|
depends_on:
|
|
|
|
- mq
|
|
|
|
- redis
|
|
|
|
env_file: ../gvaweb/.env
|
|
|
|
volumes:
|
|
|
|
- "../gvaweb:/srv/gvaweb"
|
|
|
|
ldap:
|
|
|
|
image: gnuviech/gvaldap:buster
|
|
|
|
build:
|
|
|
|
context: ../gvaldap
|
|
|
|
args:
|
|
|
|
GVAGID: 1000
|
|
|
|
GVAUID: 1000
|
|
|
|
depends_on:
|
|
|
|
- mq
|
|
|
|
- redis
|
|
|
|
env_file: ../gvaldap/.env
|
|
|
|
volumes:
|
|
|
|
- "../gvaldap:/srv/gvaldap"
|
2020-03-04 17:19:40 +01:00
|
|
|
file:
|
|
|
|
image: gnuviech/gvafile:buster
|
|
|
|
build:
|
|
|
|
context: ../gvafile
|
|
|
|
args:
|
|
|
|
GVAGID: 1000
|
|
|
|
GVAUID: 1000
|
|
|
|
depends_on:
|
|
|
|
- mq
|
|
|
|
- redis
|
|
|
|
env_file: ../gvafile/.env
|
|
|
|
volumes:
|
|
|
|
- "../gvafile:/srv/gvafile"
|
2020-03-04 18:30:29 +01:00
|
|
|
pgsql:
|
|
|
|
image: gnuviech/gvapgsql:buster
|
|
|
|
build:
|
|
|
|
context: ../gvapgsql
|
|
|
|
args:
|
|
|
|
GVAGID: 1000
|
|
|
|
GVAUID: 1000
|
|
|
|
depends_on:
|
|
|
|
- mq
|
|
|
|
- redis
|
|
|
|
env_file: ../gvapgsql/.env
|
|
|
|
volumes:
|
|
|
|
- "../gvapgsql:/srv/gvapgsql"
|
|
|
|
mysql:
|
|
|
|
image: gnuviech/gvamysql:buster
|
|
|
|
build:
|
|
|
|
context: ../gvamysql
|
|
|
|
args:
|
|
|
|
GVAGID: 1000
|
|
|
|
GVAUID: 1000
|
|
|
|
depends_on:
|
|
|
|
- mq
|
|
|
|
- redis
|
|
|
|
env_file: ../gvamysql/.env
|
|
|
|
volumes:
|
|
|
|
- "../gvamysql:/srv/gvamysql"
|
2018-11-19 23:28:40 +01:00
|
|
|
volumes:
|
|
|
|
django_media:
|
|
|
|
django_static:
|
|
|
|
pg_data:
|
|
|
|
redis_data:
|
|
|
|
mq_data:
|