-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (40 loc) · 921 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (40 loc) · 921 Bytes
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
version: '3.5'
services:
backend:
container_name: truss_backend
build:
context: ./backend
dockerfile: Dockerfile
volumes:
- ./symfony:/var/www/symfony
- ./backend/.ssh:/home/git/.ssh
- ./backend/repos:/home/git/repos
- ./backend/git-shell-commands:/home/git/git-shell-commands
ports:
- "80:80"
- "22:22"
mysql:
container_name: truss_mysql
build:
context: ./mysql
dockerfile: Dockerfile
ports:
- "3306:3306"
volumes:
- ./mysql/data:/bitnami/mariadb
env_file:
- ./.env
phpmyadmin:
container_name: truss_phpmyadmin
build:
context: ./phpmyadmin
dockerfile: Dockerfile
ports:
- "8080:80"
env_file:
- ./.env
testserver:
container_name: truss_testserver
build:
context: ./testserver
dockerfile: Dockerfile