blob: ffb1279c6ba9a6632a7a54f8c4d6a8989018eaf8 [file] [log] [blame]
Nico Huber8cd50ee2023-06-24 15:35:16 +00001version: "3"
2services:
3 nginx:
Nico Huber38c14da2023-06-24 16:59:28 +00004 build:
5 context: .
6 dockerfile: nginx/Dockerfile
Nico Huber8cd50ee2023-06-24 15:35:16 +00007 ports:
8 - "80:80"
Nico Huber38c14da2023-06-24 16:59:28 +00009 - "443:443"
Nico Huber8cd50ee2023-06-24 15:35:16 +000010 networks:
11 - simpleidnet
Nico Hubera1a296f2023-06-25 10:07:07 +000012 - gerritnet
Nico Huber8cd50ee2023-06-24 15:35:16 +000013 volumes:
14 - ./simpleid/cache/:/var/cache/simpleid/:ro
15 - ./simpleid/identities/:/var/db/simpleid/:ro
16 - ./simpleid/store/:/var/lib/simpleid/:ro
17 - ./simpleid/www/:/var/www/html/:ro
18 - ./nginx/sa.conf:/etc/nginx/conf.d/sa.conf:ro
19 - ./nginx/empty.conf:/etc/nginx/conf.d/default.conf:ro
20 - ./logs/nginx:/var/log/nginx/:rw
21 simpleid:
22 build:
23 context: .
24 dockerfile: simpleid/Dockerfile
25 networks:
26 - simpleidnet
27 volumes:
28 - ./simpleid/cache/:/var/cache/simpleid/:rw
29 - ./simpleid/identities/:/var/db/simpleid/:ro
30 - ./simpleid/store/:/var/lib/simpleid/:rw
31 - ./simpleid/www/:/var/www/html/:ro
32 - ./logs/simpleid/:/var/log/:rw
Nico Hubera1a296f2023-06-25 10:07:07 +000033 gerrit:
34 build:
35 context: .
36 dockerfile: gerrit/Dockerfile
37 env_file: gerrit/environment
38 environment:
39 - HTTPD_LISTEN_URL=proxy-https://*:8080/
40 networks:
41 - gerritnet
42 volumes:
43 - ./logs/gerrit/:/var/gerrit/logs/:rw
44 - ./gerrit/etc/:/var/gerrit/etc/:rw
45 - ./gerrit/db/:/var/gerrit/db/:rw
46 - ./gerrit/git/:/var/gerrit/git/:rw
47 - ./gerrit/index/:/var/gerrit/index/:rw
48 - ./gerrit/cache/:/var/gerrit/cache/:rw
Nico Huber54073102023-06-25 11:36:59 +000049 - ./gerrit/gerrit-oauth-provider.jar:/var/gerrit/plugins/gerrit-oauth-provider.jar:ro
Nico Huber8cd50ee2023-06-24 15:35:16 +000050networks:
51 simpleidnet:
52 driver: bridge
Nico Hubera1a296f2023-06-25 10:07:07 +000053 gerritnet:
54 driver: bridge