-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (33 loc) · 824 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (33 loc) · 824 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
##################
# Circinus
# Servicios de Postgres y Shiny en conjunto para laboratorio de datos
##################
version: '3.8'
services:
db:
image: postgres:16-alpine
restart: always
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
ports:
- '5432:5432'
volumes:
- db:/var/lib/postgresql/data
- ./backup:/backup
- ./backup/init.sh:/docker-entrypoint-initdb.d/init.sh
shiny:
image: nytio/circinus:v2024
restart: always
ports:
- '80:3838'
volumes:
- ./app/shiny:/srv/shiny-server/
- ./log:/var/log/shiny-server/
- ./backup/odbc.ini:/etc/odbc.ini
- ./app/shiny-server.conf:/etc/shiny-server/shiny-server.conf
- ./app/.Rprofile:/home/shiny/.Rprofile
depends_on:
- db
volumes:
db:
driver: local