-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (49 loc) · 974 Bytes
/
docker-compose.yml
File metadata and controls
50 lines (49 loc) · 974 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
41
42
43
44
45
46
47
48
49
50
version: '3'
services:
nginx:
container_name: abizeitung_nginx
depends_on:
- db
- php
image: nginx:alpine
ports:
- "80:80"
volumes:
- ./src:/www
- ./config/site.conf:/etc/nginx/conf.d/default.conf
networks:
- abizeitung
php:
container_name: abizeitung_php
depends_on:
- db
image: rubidiumdev/php-7.3-mysql
volumes:
- ./src:/www
networks:
- abizeitung
db:
container_name: abizeitung_db
image: mysql:5.7
restart: always
environment:
MYSQL_RANDOM_ROOT_PASSWORD: 1
MYSQL_DATABASE: abizeitung
MYSQL_USER: abizeitung
MYSQL_PASSWORD: abizeitung
networks:
- abizeitung
phpmyadmin:
container_name: abizeitung_phpmyadmin
depends_on:
- db
image: phpmyadmin/phpmyadmin
restart: always
ports:
- '8080:80'
environment:
PMA_HOST: db
networks:
- abizeitung
networks:
abizeitung: