Created
March 24, 2015 13:09
-
-
Save robhaswell/557c25c91f99beff5afd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Example fig.yml to deploy evething. | |
# | |
web: | |
build: evething | |
ports: | |
- "8080" | |
environment: | |
ADMIN_NAME: Administrator | |
ADMIN_EMAIL: someone@somewhere.com | |
SECRET_KEY: "change this" | |
links: | |
- memcached | |
environment: | |
FIG_DB_1_PORT_5432_TCP_ADDR: 1.2.3.4 # postgres IP | |
FIG_DB_1_PORT_5432_TCP_PORT: 5432 | |
mail: | |
image: elsdoerfer/exim-sender | |
dns: # Docker's DNS is not compatible with Exim | |
- 8.8.8.8 | |
- 4.4.4.4 | |
environment: | |
ALLOWED_HOSTS: "*" | |
redis: | |
image: redis | |
memcached: | |
image: sylvainlasnier/memcached | |
celery: | |
image: fig_web # This is the web container's built image - depends on the directory name of fig.yml | |
command: celery worker -A evething -B -Q et_high,et_medium,et_low -c 2 -b redis://fig_redis_1/ | |
working_dir: /opt/evething | |
links: | |
- db | |
- redis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment