gva/docker-compose.yml

113 lines
2.2 KiB
YAML
Raw Normal View History

version: "3"
services:
db:
2020-03-02 16:49:23 +01:00
image: gnuviech/pgsql:buster
ports:
- "15432:5432"
env_file: .env
volumes:
2020-03-02 16:49:23 +01:00
- "pg_data:/var/lib/postgresql/11/main"
mq:
2020-03-02 16:49:23 +01:00
image: gnuviech/mq:buster
env_file: .env
volumes:
- "mq_data:/var/lib/rabbitmq/mnesia"
redis:
2020-03-02 16:49:23 +01:00
image: gnuviech/redis:buster
env_file: .env
volumes:
- "redis_data:/var/lib/redis"
gva:
image: gnuviech/gva:buster
build:
context: .
args:
GVAGID: 1000
GVAUID: 1000
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:
- "./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"
volumes:
django_media:
django_static:
pg_data:
redis_data:
mq_data: