docker-compose for sidekick-default standalone

This commit is contained in:
robcolbert 2019-07-06 23:36:46 -04:00
parent 948ba449fb
commit 5e83b99f3d
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
# docker-compose.sidekick-default.yml
# docker-compose -f docker-compose.sidekick-default.yml build
version: '3'
services:
sidekiq-default:
build: .
image: gab/social
restart: always
env_file: .env.production
environment:
- DB_POOL=15
command: bundle exec sidekiq -q default -c 3
user: gabsocial
extra_hosts:
- "outside:185.255.112.10"
networks:
- external_network
- internal_network
volumes:
- /mnt/nfs/assets:/gabsocial/public/system:Z
networks:
external_network:
internal_network:
internal: true