1 Star 0 Fork 2

宿叶露/asciinema-server

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 1.29 KB
一键复制 编辑 原始数据 按行查看 历史
Marcin Kulik 提交于 2021-04-18 17:24 . Remove Redis
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/suyelu/asciinema-server.git
[email protected]:suyelu/asciinema-server.git
suyelu
asciinema-server
asciinema-server
develop

搜索帮助