blob: 2e3d27987d47e8cdf52ff76fcdac7b932ca35e13 [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 Huber8cd50ee2023-06-24 15:35:16 +000049networks:
50 simpleidnet:
51 driver: bridge
Nico Hubera1a296f2023-06-25 10:07:07 +000052 gerritnet:
53 driver: bridge