-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
85 lines (79 loc) · 1.68 KB
/
docker-compose.yaml
File metadata and controls
85 lines (79 loc) · 1.68 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
networks:
pocket:
driver: 'bridge'
services:
postgres:
image: 'postgres:latest'
container_name: 'postgres'
environment:
- 'POSTGRES_DB=pocket'
- 'POSTGRES_PASSWORD=postgres'
- 'POSTGRES_USER=postgres'
ports:
- '5432:5432'
restart: 'on-failure'
networks:
- 'pocket'
pgadmin:
image: "dpage/pgadmin4:latest"
container_name: pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: tees3359@gmail.com
PGADMIN_DEFAULT_PASSWORD: 1234
volumes:
- './pgadmin/:/var/lib/pgadmin'
ports:
- "5050:80"
restart: always
networks:
- 'pocket'
backend:
image: 'ghkd110/pocket-wedding-backend:latest'
container_name: 'backend'
environment:
USE_PROFILE: prod
NORM_PROP: docker1
DIRECT_MSG: hello
ports:
- '8080:8080'
restart: 'always'
networks:
- 'pocket'
npm:
image: 'jc21/nginx-proxy-manager:latest'
container_name: 'npm'
ports:
- '81:81'
- '443:443'
- '80:80'
volumes:
- ./nginx-proxy-manager/data:/data
- ./nginx-proxy-manager/letsencrypt:/etc/letsencrypt
restart: unless-stopped
networks:
- pocket
db:
image: 'mysql:8.3'
container_name: 'db'
environment:
MYSQL_ROOT_PASSWORD: 'npm'
MYSQL_DATABASE: 'npm'
MYSQL_USER: 'npm'
MYSQL_PASSWORD: 'npm'
MYSQL_ROOT_HOST: '%'
ports:
- '3306:3306'
restart: 'on-failure'
networks:
- pocket
front:
build:
context: frontend
dockerfile: Dockerfile
container_name: front
ports:
- "3000:3000"
command: yarn dev
restart: always
networks:
- "pocket"