-
Notifications
You must be signed in to change notification settings - Fork 0
/
prod.yml
executable file
·44 lines (40 loc) · 866 Bytes
/
prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!docker-compose -f
concourse-db:
image: postgres:9.5
env_file:
- SECRET.env.db
environment:
POSTGRES_DB: concourse
PGDATA: /database
concourse-web:
image: concourse/concourse
links: [concourse-db]
command: web
ports:
- "8080:8080"
volumes: ["./keys/web:/concourse-keys"]
env_file:
- SECRET.env
concourse-worker:
image: concourse/concourse
privileged: true
links: [concourse-web]
command: worker
volumes: ["./keys/worker:/concourse-keys"]
environment:
CONCOURSE_TSA_HOST: concourse-web
gogs:
image: gogs/gogs
links: [gogs-db]
volumes:
- ./SECRET.gogs.ini:/data/gogs/conf/app.ini
ports:
- "10022:22" #ssh for git only
- "10080:3000" #webportal for messing with gogs
gogs-db:
image: postgres
env_file:
- SECRET.env.gogs-db
environment:
POSTGRES_DB: gogs
PGDATA: /database