forked from garystafford/aws-rds-postgres
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstack.yml
More file actions
42 lines (40 loc) · 861 Bytes
/
Copy pathstack.yml
File metadata and controls
42 lines (40 loc) · 861 Bytes
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
# docker stack deploy -c stack.yml postgres
# docker stack ps postgres --no-trunc
version: "3.7"
services:
postgres:
image: postgres:11.4
environment:
POSTGRES_USER: masteruser
POSTGRES_PASSWORD: 5up3r53cr3tPa55w0rd
POSTGRES_DB: pagila
ports:
- "5432:5432/tcp"
networks:
- demo-net
deploy:
restart_policy:
condition: on-failure
adminer:
image: adminer:latest
ports:
- "8180:8080/tcp"
networks:
- demo-net
deploy:
restart_policy:
condition: on-failure
pgadmin:
image: dpage/pgadmin4:latest
environment:
PGADMIN_DEFAULT_EMAIL: user@domain.com
PGADMIN_DEFAULT_PASSWORD: SuperSecret
ports:
- "81:80/tcp"
networks:
- demo-net
deploy:
restart_policy:
condition: on-failure
networks:
demo-net: