-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (51 loc) · 1.22 KB
/
docker-compose.yml
File metadata and controls
55 lines (51 loc) · 1.22 KB
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
---
version: "3.5"
networks:
api:
name: ideka_api
driver: bridge
services:
api:
container_name: ideka_api
build: docker/phpfpm
working_dir: /srv/app
env_file: ideka.env
volumes:
- ".:/srv/app"
networks:
- api
redis:
container_name: ideka_api_redis
image: redis
env_file: ideka.env
volumes:
- "./var/redis:/data"
networks:
- api
mysql:
container_name: ideka_api_mysql
image: mysql:5.7
env_file: ideka.env
networks:
- api
volumes:
- "./var/mysql:/var/lib/mysql"
nginx:
container_name: ideka_api_nginx
build: docker/nginx
depends_on:
- api
env_file: ideka.env
extra_hosts:
- "local.ideka.fr:127.0.0.1"
- "ideka.new-talents.fr:127.0.0.1"
- "www.ideka.fr:127.0.0.1"
volumes:
- ".:/srv/app"
- "./var/ssl:/etc/letsencrypt"
- "./var/log/nginx:/var/log/nginx"
networks:
- api
ports:
- "${NGINX_TLS_PORT}:443"
- "${NGINX_PORT}:80"