-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml.dist
59 lines (54 loc) · 1.23 KB
/
docker-compose.yml.dist
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
58
59
version: '3.5'
services:
payunpile-web:
container_name: payunpile-web
build:
context: ./docker/nginx
args:
UID: $U_ID
ports:
- 360:80
volumes:
- ./public:/appdata/www/public
depends_on:
- payunpile-be
networks:
- payunpile-network
payunpile-be:
container_name: payunpile-be
build:
context: docker/php
args:
UID: $U_ID
HOST: $HOST
environment:
PHP_IDE_CONFIG: serverName=Docker
PHP_XDEBUG_ENABLED: 1
XDEBUG_CONFIG: remote_host=$HOST remote_port=9005
volumes:
- ./:/appdata/www
- ~/.ssh/id_rsa:/home/appuser/.ssh/id_rsa
# depends_on:
# - payunpile-db
networks:
- payunpile-network
# payunpile-db:
# container_name: payunpile-db
# image: mariadb:10.1.47
# ports:
# - 36000:3306
# environment:
# MYSQL_DATABASE: symfony_db
# MYSQL_USER: user
# MYSQL_PASSWORD: password
# MYSQL_ROOT_PASSWORD: root
# command: mysqld --sql_mode="STRICT_ALL_TABLES,NO_ENGINE_SUBSTITUTION"
# volumes:
# - payunpile-db-data:/var/lib/mysql
# networks:
# - payunpile-network
#volumes:
# payunpile-db-data:
networks:
payunpile-network:
external: true