-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
38 lines (37 loc) · 989 Bytes
/
docker-compose.yml
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
version: '3'
services:
web:
image: nginx:latest
container_name: culturevein_nginx
ports:
- "8000:80"
volumes:
- ./:/code
- ./docker/nginx/site.conf:/etc/nginx/conf.d/default.conf
php:
container_name: culturevein_php
build:
context: ./docker/php
volumes:
- ./:/code
angular:
container_name: culturevein_angular
build:
context: ./docker/angular
volumes:
- ./frontend/:/app
ports:
- '4201:4200'
database:
image: mysql
container_name: culturevein_database
volumes:
- ./mysql_init:/docker-entrypoint-initdb.d
ports:
- "3306:3306"
environment:
MYSQL_DATABASE: "test"
MYSQL_USER: "test"
MYSQL_PASSWORD: "test"
MYSQL_ROOT_PASSWORD: "root"
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"