Skip to content

Commit 178b793

Browse files
committed
update docker compose
1 parent 8fc332d commit 178b793

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

docker-compose.yml

+19-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
1-
version: '3.8'
2-
31
services:
4-
app:
2+
heartlink:
53
image: sachawildcode/projet-poec:latest
6-
ports:
7-
- '80:80'
4+
networks:
5+
- heartlink_network
6+
container_name: heartlink
7+
restart: unless-stopped
8+
cloudflare:
9+
image: cloudflare/cloudflared
10+
container_name: heartlink-cloudflare
11+
command: tunnel run
12+
environment:
13+
- TUNNEL_TOKEN=$TUNNEL_TOKEN
14+
restart: unless-stopped
15+
networks:
16+
- heartlink_network
17+
env_file:
18+
- .env
19+
networks:
20+
heartlink_network:
21+
name: heartlink_network

nginx.conf

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ http {
2323
try_files $uri $uri/ /index.html;
2424

2525
}
26-
2726
error_page 500 502 503 504 /50x.html;
2827
location = /50x.html {
2928
root /usr/share/nginx/html;

0 commit comments

Comments
 (0)