-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
57 lines (51 loc) · 1.14 KB
/
docker-compose.yaml
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
56
57
# File Version: 1.0.0
services:
mysql:
image: mysql:latest
container_name: ${MYSQL_CONTAINER_NAME}
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
ports:
- "${MYSQL_PUBLIC_PORT}:3306"
networks:
- selfpress
nginx:
image: nginx:latest
container_name: ${NGINX_CONTAINER_NAME}
ports:
- "80:80"
- "443:443"
volumes:
- ./applications/confs/nginx/conf.d:/etc/nginx/conf.d:ro
networks:
- ${DOCKER_NETWORK_NAME}
phpmyadmin:
image: phpmyadmin
container_name: ${PHPMYADMIN_CONTAINER_NAME}
environment:
PMA_HOST: mysql
ports:
- "8079:80"
networks:
- selfpress
links:
- mysql:db
redis:
image: redis:latest
container_name: ${REDIS_CONTAINER_NAME}
networks:
- ${DOCKER_NETWORK_NAME}
sftp:
image: jmcombs/sftp
container_name: ${SFTP_CONTAINER_NAME}
ports:
- "2222:22"
volumes:
- ./applications/confs/sftp/users.conf:/etc/sftp/users.conf:ro
- ./applications/data:/home
networks:
- ${DOCKER_NETWORK_NAME}
networks:
selfpress:
name: selfpress
driver: bridge