Skip to content

Commit c165f60

Browse files
committed
deploy: Mount logs and uploads as volumes.
1 parent ae4168d commit c165f60

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.env.production.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
RAILS_LOG_TO_STDOUT=true
1+
#RAILS_LOG_TO_STDOUT=true
22

33
TAP_SECRET_KEY_BASE=5d40610321e19e4f71ee2ba8af4f426fe15096c405da3800c6b33bed6779f2d11f55a0edc455974b19a01fd71f6cd508dba980305dbc55ff82521a2d12f891d8
44
TAP_OAUTH_CLIENT_ID=tomtest

compose.production.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ services:
88
env_file: .env.production
99
ports:
1010
- "127.0.0.1:3000:80" # XXX: Remove this
11+
volumes:
12+
- ./log/:/tap/log/
13+
- ./uploads/:/tap/public/system/
1114
tmpfs:
1215
- /tap/tmp
1316
depends_on:

0 commit comments

Comments
 (0)