-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
66 lines (64 loc) · 1.61 KB
/
docker-compose.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: '3'
x-env-generic-backend: &x-env-generic-backend
TZ: Europe/Stockholm
WHARF_API_URL: http://api:8080
WHARF_HTTP_CORS_ALLOWALLORIGINS: "true"
services:
proxy:
image: amd64/traefik:v2.5
tty: true
ports:
- "5000:8081"
volumes:
- ./wharf-docker-compose/traefik:/etc/traefik # Traefik configuration file
web:
image: quay.io/iver-wharf/wharf-web
api:
image: quay.io/iver-wharf/wharf-api
tty: true
ports:
- "5001:8080"
environment:
<<: *x-env-generic-backend
WHARF_DB_DRIVER: postgres
WHARF_DB_HOST: db
WHARF_DB_PORT: 5432
WHARF_DB_USERNAME: postgres
WHARF_DB_PASSWORD: OL2AEn6lgj6ekajgKJIOanefgegnksngpoetPIEQjhankf7412
WHARF_DB_NAME: wharf
WHARF_DB_LOG: "true"
MOCK_LOCAL_CI_RESPONSE: "true"
WHARF_INSTANCE: local
provider-gitlab:
image: quay.io/iver-wharf/wharf-provider-gitlab
tty: true
ports:
- "5002:8080"
environment:
<<: *x-env-generic-backend
provider-github:
image: quay.io/iver-wharf/wharf-provider-github
tty: true
ports:
- "5003:8080"
environment:
<<: *x-env-generic-backend
provider-azuredevops:
image: quay.io/iver-wharf/wharf-provider-azuredevops
tty: true
ports:
- "5004:8080"
environment:
<<: *x-env-generic-backend
db:
image: postgres
restart: always
environment:
<<: *x-env-generic-backend
POSTGRES_PASSWORD: OL2AEn6lgj6ekajgKJIOanefgegnksngpoetPIEQjhankf7412
ports:
- "5432:5432"
volumes:
- wharf-postgresql-volume:/var/lib/postgresql/data
volumes:
wharf-postgresql-volume: