gva/docker-compose.yml

114 lines
2.3 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:
- "django_media:/srv/gva/media"
- "django_static:/srv/gva/static"
- "./gnuviechadmin:/srv/gva/gnuviechadmin"
web:
image: gnuviech/gvaweb:buster
build:
context: ../gvaweb
args:
GVAGID: 1000
GVAUID: 1000
depends_on:
- mq
- redis
env_file: ../gvaweb/.env
volumes:
- "../gvaweb/gvaweb:/srv/gvaweb/gvaweb"
ldap:
image: gnuviech/gvaldap:buster
build:
context: ../gvaldap
args:
GVAGID: 1000
GVAUID: 1000
depends_on:
- mq
- redis
env_file: ../gvaldap/.env
volumes:
- "../gvaldap/gvaldap:/srv/gvaldap/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/gvafile:/srv/gvafile/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/gvapgsql:/srv/gvapgsql/gvapgsql"
2020-03-04 18:30:29 +01:00
mysql:
image: gnuviech/gvamysql:buster
build:
context: ../gvamysql
args:
GVAGID: 1000
GVAUID: 1000
depends_on:
- mq
- redis
env_file: ../gvamysql/.env
volumes:
- "../gvamysql/gvamysql:/srv/gvamysql/gvamysql"
volumes:
django_media:
django_static:
pg_data:
redis_data:
mq_data: