mirror of
https://github.com/elyby/chrly.git
synced 2024-12-25 22:50:14 +05:30
28 lines
671 B
YAML
28 lines
671 B
YAML
|
# This file can be used to run application in the production environment.
|
||
|
# Copy it into the docker-compose.yml:
|
||
|
# > cp docker-compose.prod.yml docker-compose.yml
|
||
|
# And then run it:
|
||
|
# > docker-compose up -d
|
||
|
# Service will be listened at the http://localhost
|
||
|
|
||
|
version: '2'
|
||
|
services:
|
||
|
app:
|
||
|
image: elyby/chrly
|
||
|
hostname: chrly0
|
||
|
restart: always
|
||
|
links:
|
||
|
- redis
|
||
|
volumes:
|
||
|
- ./data/capes:/data/capes
|
||
|
ports:
|
||
|
- "80:80"
|
||
|
environment:
|
||
|
CHRLY_SECRET: replace_this_value_in_production
|
||
|
|
||
|
redis:
|
||
|
image: redis:4.0-32bit # 32-bit version is recommended to spare some memory
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- ./data/redis:/data
|