forked from shish/shimmie2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
73 lines (66 loc) · 1.65 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: "3"
services:
sql:
image: postgres:15-alpine
container_name: ${DBC_NAME}
restart: unless-stopped
#user: 1000:1000
environment:
- POSTGRES_DB=${PSQL_DB}
- POSTGRES_USER=${PSQL_USER}
- POSTGRES_PASSWORD=${PSQL_PW}
volumes:
- ${DB_PATH}:/var/lib/postgresql/data
networks:
- bay-21-internal
redis:
image: redis
command: "--port ${CAC_PORT} --maxmemory ${CAC_MAXMEM} --requirepass '${CAC_PW}'"
container_name: ${CAC_NAME}
networks:
- bay-21-internal
# memcached:
# image: memcached:latest
# container_name: ${CAC_NAME}
# ports:
# - ${CAC_PORT}:11211
# command:
# - '--memory-limit=512'
# networks:
# - bay-21-internal
shimmie:
build:
context: .
dockerfile: Dockerfile
#image: shish2k/shimmie2:latest
container_name: ${APPC_NAME}
restart: unless-stopped
environment:
- POSTGRES_HOST=sql
- POSTGRES_DB=${PSQL_DB}
- POSTGRES_USER=${PSQL_USER}
- POSTGRES_PASSWORD=${PSQL_PW}
- UPLOAD_MAX_FILESIZE=${UPLOAD_MAX_FILESIZE}
- MAX_FILE_UPLOADS=${MAX_FILE_UPLOADS}
- MAX_EXECUTION_TIME=${MAX_EXECUTION_TIME}
- POST_MAX_SIZE=${POST_MAX_SIZE}
- MEMORY_LIMIT=${MEMORY_LIMIT}
#INSTALL_DSN: "pgsql:user=shimmie;password=shimmie;host=sql;dbname=shimmie"
ports:
- ${PORT}:8000
volumes:
- ${APP_PATH}:/app/data
#- ${PHP_INI}:/etc/php/8.2/cli/php.ini
networks:
- bay-21-internal
links:
- sql
volumes:
db:
driver: local
app:
driver: local
networks:
bay-21-internal:
external: true
name: bay-21-internal