blob: ffb1279c6ba9a6632a7a54f8c4d6a8989018eaf8 [file] [log] [blame]
version: "3"
services:
nginx:
build:
context: .
dockerfile: nginx/Dockerfile
ports:
- "80:80"
- "443:443"
networks:
- simpleidnet
- gerritnet
volumes:
- ./simpleid/cache/:/var/cache/simpleid/:ro
- ./simpleid/identities/:/var/db/simpleid/:ro
- ./simpleid/store/:/var/lib/simpleid/:ro
- ./simpleid/www/:/var/www/html/:ro
- ./nginx/sa.conf:/etc/nginx/conf.d/sa.conf:ro
- ./nginx/empty.conf:/etc/nginx/conf.d/default.conf:ro
- ./logs/nginx:/var/log/nginx/:rw
simpleid:
build:
context: .
dockerfile: simpleid/Dockerfile
networks:
- simpleidnet
volumes:
- ./simpleid/cache/:/var/cache/simpleid/:rw
- ./simpleid/identities/:/var/db/simpleid/:ro
- ./simpleid/store/:/var/lib/simpleid/:rw
- ./simpleid/www/:/var/www/html/:ro
- ./logs/simpleid/:/var/log/:rw
gerrit:
build:
context: .
dockerfile: gerrit/Dockerfile
env_file: gerrit/environment
environment:
- HTTPD_LISTEN_URL=proxy-https://*:8080/
networks:
- gerritnet
volumes:
- ./logs/gerrit/:/var/gerrit/logs/:rw
- ./gerrit/etc/:/var/gerrit/etc/:rw
- ./gerrit/db/:/var/gerrit/db/:rw
- ./gerrit/git/:/var/gerrit/git/:rw
- ./gerrit/index/:/var/gerrit/index/:rw
- ./gerrit/cache/:/var/gerrit/cache/:rw
- ./gerrit/gerrit-oauth-provider.jar:/var/gerrit/plugins/gerrit-oauth-provider.jar:ro
networks:
simpleidnet:
driver: bridge
gerritnet:
driver: bridge