-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.example.yaml
executable file
·53 lines (49 loc) · 1.1 KB
/
docker-compose.example.yaml
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
services:
pet-db:
image: "postgres"
container_name: postgres
ports:
- 5432:5432
environment:
- POSTGRES_PASSWORD=secret1234!
volumes:
- postgres:/var/lib/postgresql/data/
pgadmin:
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: admin
PGADMIN_LISTEN_PORT: 80
restart: always
ports:
- 8080:80
volumes:
- pgadmin:/var/lib/pgadmin
depends_on:
- pet-db
pet-api:
image: "jurosm/pet-store-api"
container_name: pet-api
ports:
- 5001:80
environment:
- DB_CONNECTION_STRING=User ID=postgres;Password=secret1234!;Server=pet-db;Port=5432;Database=postgres;
- AUTH0_DOMAIN=
- AUTH0_AUDIENCE=
- AUTH0_CLIENT_ID=
- AUTH0_CLIENT_SECRET=
- STRIPE_API_KEY=
depends_on:
- pet-db
pet-ui:
image: "jurosm/pet-store"
container_name: pet-app
ports:
- 4200:4200
depends_on:
- pet-api
environment:
- API_URL=http://localhost:5001/
volumes:
pgadmin:
postgres: