-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (48 loc) · 1.04 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
44
45
46
47
48
services:
nginx:
container_name: nginx
image: kwangdock/portfolio-tech-stack-nginx
restart: always
depends_on:
- web
- api-ts
- api-java
- api-python
ports:
- 80:80
- 443:443
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./nginx/certbot/www:/var/www/certbot
- ./nginx/certbot/conf/:/etc/nginx/ssl
certbot:
image: certbot/certbot:latest
volumes:
- ./nginx/certbot/www:/var/www/certbot
- ./nginx/certbot/conf/:/etc/letsencrypt
api-ts:
container_name: api-ts
image: kwangdock/portfolio-tech-stack-api-ts
expose:
- 5000
env_file:
- .env
api-java:
container_name: api-java
image: kwangdock/portfolio-tech-stack-api-java
expose:
- 5000
env_file:
- .env
api-python:
container_name: api-python
image: kwangdock/portfolio-tech-stack-api-python
expose:
- 5000
env_file:
- .env
web:
container_name: web
image: kwangdock/portfolio-tech-stack-web
expose:
- 3000