-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathdocker-compose.php8-app.dev.yml
More file actions
46 lines (44 loc) · 1.02 KB
/
docker-compose.php8-app.dev.yml
File metadata and controls
46 lines (44 loc) · 1.02 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
38
39
40
41
42
43
44
45
46
version: '2'
services:
ork3app:
build:
context: ./
dockerfile: Dockerfile.dev
ports:
- 19080:80
working_dir: /var/www
volumes:
- .:/var/www/ork.amtgard.com
env_file: .dev.env
environment:
- ENVIRONMENT=DEV
container_name: ork3-php8-app
networks:
- ork3-php8-net
ork3db:
image: mariadb:latest
restart: always
environment:
MARIADB_DATABASE: 'ork'
# So you don't have to use root, but you can if you like
MARIADB_USER: 'ork'
# You can use whatever password you like
MARIADB_PASSWORD: 'secret'
# Password for root access
MARIADB_ROOT_PASSWORD: 'root'
ports:
# <Port exposed> : < MySQL Port running inside container>
- '19306:3306'
expose:
# Opens port 3306 on the container
- '3306'
# Where our data will be persisted
volumes:
- data-db:/var/lib/mysql
container_name: ork3-php8-db
networks:
- ork3-php8-net
volumes:
data-db: {}
networks:
ork3-php8-net: