-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
53 lines (46 loc) · 1012 Bytes
/
docker-compose-dev.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
49
50
51
52
53
version: '3.4'
networks:
trans:
services:
frontend:
build: ./frontend/config
container_name: ft_frontend
ports:
- "443:443"
- "4009:80"
volumes:
- ./frontend/app:/var/www
environment:
- BACKEND_HOST=localhost
network_mode: host
db:
image: postgres:latest
container_name: ft_db
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
ports:
- "5432:5432"
restart: always
networks:
- trans
redis:
image: redis:latest
container_name: ft_redis
environment:
- REDIS_HOST=redis
- REDIS_PORT=${REDIS_PORT}
ports:
- "6379:6379"
networks:
- trans
# game_loop:
# build: ./game_loop
# container_name: ft_game_loop
# environment:
# - BACKEND_HOST=localhost
# - BACKEND_PORT=${BACKEND_PORT}
# - REDIS_HOST=localhost
# - REDIS_PORT=${REDIS_PORT}
# network_mode: host