-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
56 lines (51 loc) · 1.05 KB
/
docker-compose.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
54
55
56
# version: "3"
# services:
# mysql:
# image: mysql:8.0
# platform: linux/amd64
# volumes:
# - /tmp:/tmp
# ports:
# - 3306:3306
# networks:
# - network
# environment:
# MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
# MYSQL_DATABASE: ${DB_NAME}
# MYSQL_USER: ${DB_USER}
# MYSQL_PASSWORD: ${DB_PASSWORD}
# restart: always
# yourpr:
# image: yourproject-nodejs
# platform: linux/amd64
# volumes:
# - /tmp:/tmp
# networks:
# - network
# environment:
# MYSQL_HOST: ${DB_HOST}
# ports:
# - 8000:8000
# restart: always
# lb:
# image: eeacms/haproxy
# platform: linux/amd64
# depends_on:
# - yourpr
# ports:
# - "80:5000"
# - "1936:1936"
# environment:
# BACKENDS: "yourpr"
# BACKENDS_PORT: "8000"
# DNS_ENABLED: "true"
# COOKIES_ENABLED: "false"
# LOG_LEVEL: "info"
# networks:
# - network
# volumes:
# schemas:
# external: false
# networks:
# network:
# driver: bridge