-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
43 lines (42 loc) · 1.64 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
version: "3"
services:
# db:
# container_name: fast-store.db
# image: mysql:8.0.22
# ports:
# - 3360:3306
# environment:
# MYSQL_DATABASE: fast-store
# MYSQL_ROOT_PASSWORD: 131367Nhan
# volumes:
# - ./data/mysql:/var/lib/mysql
client:
build: ./fast-store-fe/.
image: heaty566/fast-store-fe:latest
expose:
- 3000
# server:
# build: .
# image: heaty566/fast-store:latest
# expose:
# - 4000
# volumes:
# - /data/public:/public
# certbot:
# image: certbot/certbot
# restart: unless-stopped
# volumes:
# - ./data/certbot/conf:/etc/letsencrypt
# - ./data/certbot/www:/var/www/certbot
# entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
# nginx:
# image: nginx:1.15-alpine
# restart: unless-stopped
# ports:
# - 80:80
# - 443:443
# volumes:
# - ./data/certbot/conf:/etc/letsencrypt
# - ./data/certbot/www:/var/www/certbot
# - ./data/nginx:/etc/nginx/conf.d
# command: '/bin/sh -c ''while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g "daemon off;"'''