-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
51 lines (46 loc) · 972 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
#version: "3.7"
volumes:
pgdata:
shiny_logs:
services:
shiny:
container_name: shiny
build:
context: "."
dockerfile: Dockerfile_R
env_file:
- .env_db
restart: always
user: root
# Uncomment the lines below to disable application logs STDOUT output
# environment:
# - APPLICATION_LOGS_TO_STDOUT=false
ports:
- "3838:3838"
depends_on:
- postgresql
command: sh -c /start.sh
volumes:
- 'shiny_logs:/var/log/shiny-server'
- './mountpoints/apps:/srv/shiny-server'
postgresql:
container_name: postgresql
build:
context: "."
dockerfile: "Dockerfile-postgis"
env_file:
- .env_db
ports:
- 5432:5432
volumes:
- pgdata:/var/lib/postgresql/data
restart: always
pgadmin:
image: dpage/pgadmin4:latest
env_file:
- .env_db
ports:
- "5050:5050"
depends_on:
- postgresql
restart: always