代码拉取完成,页面将自动刷新
version: '2'
services:
postgres:
image: postgres:10.6-alpine
container_name: asciinema_postgres
restart: unless-stopped
volumes:
- ./volumes/postgres:/var/lib/postgresql/data
### See https://hub.docker.com/_/postgres/ for more
### configuration options for this image.
smtp:
image: namshi/smtp
container_name: asciinema_smtp
restart: unless-stopped
env_file: .env.production
### See https://github.com/namshi/docker-smtp for more SMTP configuration
### options for this image.
nginx:
image: nginx:1.15-alpine
container_name: asciinema_nginx
restart: unless-stopped
links:
- phoenix
ports:
- "80:80"
### Uncomment for HTTPS:
# - "443:443"
volumes:
- ./docker/nginx/asciinema.conf:/etc/nginx/conf.d/default.conf:ro
- ./volumes/cache:/cache
### Uncomment for HTTPS (make sure to add your cert and private key to ./certs):
# - ./certs:/app/priv/certs
### See https://hub.docker.com/_/nginx/ for more configuration options for
### this image.
phoenix:
image: asciinema/asciinema-server
container_name: asciinema_phoenix
restart: unless-stopped
links:
- postgres
- smtp
env_file: .env.production
volumes:
- ./volumes/uploads:/opt/app/uploads
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。