-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yaml
71 lines (71 loc) · 1.93 KB
/
docker-compose.yaml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: '3'
services:
web:
image: ghcr.io/fsr5-fhaachen/portals:latest
container_name: portals-web
restart: unless-stopped
depends_on:
- redis
- mariadb
environment:
APP_NAME: '${APP_NAME}'
APP_ENV: '${APP_ENV}' # set to local if you want to test without https
APP_KEY: '${APP_KEY}'
APP_DEBUG: '${APP_DEBUG}'
APP_URL: '${APP_URL}'
APP_FORCE_HTTPS: '${APP_FORCE_HTTPS}'
APP_EVENT_TYPE: '${APP_EVENT_TYPE}'
TUTOR_PASSWORD: '${TUTOR_PASSWORD}'
ADMIN_PASSWORD: '${ADMIN_PASSWORD}'
OCTANE_HTTPS: '${OCTANE_HTTPS}' # set to false if you want to test without https
OCTANE_WORKERS: 1
OCTANE_MAX_REQUESTS: '${OCTANE_MAX_REQUESTS}'
LOG_CHANNEL: '${LOG_CHANNEL}'
LOG_LEVEL: '${LOG_LEVEL}'
DB_CONNECTION: mysql
DB_HOST: mariadb
DB_PORT: 3306
DB_DATABASE: portals
DB_USERNAME: portals
DB_PASSWORD: password
BROADCAST_CONNECTION: '${BROADCAST_CONNECTION}'
CACHE_STORE: '${CACHE_STORE}'
FILESYSTEM_DRIVER: '${FILESYSTEM_DRIVER}'
QUEUE_CONNECTION: '${QUEUE_CONNECTION}'
SESSION_DRIVER: '${SESSION_DRIVER}'
SESSION_LIFETIME: '${SESSION_LIFETIME}'
REDIS_HOST: redis
REDIS_PASSWORD: password
REDIS_PORT: 6379
ports:
- "8000:8000"
networks:
- portals
redis:
image: redis
container_name: portals-redis
restart: unless-stopped
command: redis-server --requirepass password
# ports:
# - "6379:6379"
networks:
- portals
mariadb:
image: mariadb
container_name: portals-mariadb
restart: unless-stopped
# ports:
# - "3306:3306"
environment:
MARIADB_DATABASE: portals
MARIADB_ROOT_PASSWORD: secret-root-password
MARIADB_USER: portals
MARIADB_PASSWORD: password
volumes:
- portals_mariadb:/var/lib/mysql/
networks:
- portals
networks:
portals:
volumes:
portals_mariadb: