-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 833 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (38 loc) · 833 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
# fart - rgb 2023
version: '3'
services:
nginx:
image: nginx:alpine
volumes:
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
- ./:/var/www/html
ports:
- "8080:80"
php:
restart: always
volumes:
- ./docker/php/php.ini:/opt/bitnami/php/lib/php.ini
- ./:/var/www/html
build: ./
adminer:
image: adminer
restart: always
ports:
- "6060:8080"
mariadb:
image: mariadb
restart: always
environment:
- MYSQL_DATABASE=openSB
- MYSQL_ROOT_USER=root
- MYSQL_ROOT_PASSWORD=root
- MYSQL_PASSWORD=example
ports:
- "4000:3306"
volumes:
- ./mariadb-data:/var/lib/mysql
composer:
image: composer
command: composer update --working-dir /var/www/html
volumes:
- ./:/var/www/html