-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (37 loc) · 1.05 KB
/
docker-compose.yml
File metadata and controls
37 lines (37 loc) · 1.05 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
version: '3.3'
services:
nginx:
build: 'nginx'
restart: always
ports:
- '80:80'
- '443:443'
volumes:
- './keys:/etc/ssl/private'
- './nginx/config:/etc/nginx'
- './dist:/usr/share/nginx/html'
- './website-docs:/usr/share/nginx/website-docs'
links:
- websocket
- php-fpm
redis:
image: 'artshellorok/redis'
restart: always
php-fpm:
image: 'artshellorok/php-fpm'
volumes:
- './php/php.ini:/usr/local/etc/php/php.ini'
- './php/conf.d:/usr/local/etc/php/conf.d'
- './dist:/var/www/html'
- './website-docs:/var/www/html/website-docs'
restart: always
websocket:
image: 'artshellorok/ws'
restart: always
volumes:
- './websocket/src:/srv/ws'
links:
- redis
environment:
- PORT=5000
- TOKEN=b7037fe6b012ae49d6c8189b60ca2c0b3f820950b27881755d034a676d3680f5