-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
50 lines (47 loc) · 996 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
39
40
41
42
43
44
45
46
47
48
49
50
version: '3.4'
services:
impresscms:
build:
context: .
dockerfile: Dockerfile
target: dev
args:
VARIANT: nginx
image: impresscms/impresscms:dev
depends_on:
- mysql
restart: "no"
environment:
DB_TYPE: pdo.mysql
DB_HOST: mysql
DB_USER: icms
DB_PASS: impress
DB_PCONNECT: 0
DB_NAME: impresscms
DB_CHARSET: utf8
DB_COLLATION: utf8_general_ci
DB_PORT: 3306
INSTALL_ADMIN_PASS: admin
INSTALL_ADMIN_LOGIN: admin
INSTALL_ADMIN_NAME: Admin
INSTALL_ADMIN_EMAIL: admin@localhost
PHP_FPM_DISPLAY_ERRORS: 'true'
ports:
- "80:80"
- "443:443"
volumes:
- ./src:/srv/www
networks:
- main
mysql:
image: mysql:latest
restart: always
environment:
MYSQL_USER: icms
MYSQL_PASSWORD: impress
MYSQL_DATABASE: impresscms
MYSQL_RANDOM_ROOT_PASSWORD: 'true'
networks:
- main
networks:
main: