mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-28 21:38:25 +00:00
40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
# Note: This file is only used for Atlantis local development
|
|
version: "3.8"
|
|
services:
|
|
ngrok:
|
|
image: wernight/ngrok:latest
|
|
ports:
|
|
- 4040:4040
|
|
environment:
|
|
# https://dashboard.ngrok.com/get-started/your-authtoken
|
|
NGROK_AUTH: REPLACE-WITH-YOUR-TOKEN
|
|
NGROK_PROTOCOL: http
|
|
NGROK_PORT: atlantis:4141
|
|
depends_on:
|
|
- atlantis
|
|
redis:
|
|
image: redis:7.0-alpine
|
|
restart: always
|
|
ports:
|
|
- '6379:6379'
|
|
command: redis-server --save 20 1 --loglevel warning --requirepass test123
|
|
volumes:
|
|
- redis:/data
|
|
atlantis:
|
|
depends_on:
|
|
- redis
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.dev
|
|
ports:
|
|
- 4141:4141
|
|
volumes:
|
|
- ~/.ssh:/.ssh
|
|
- ./:/atlantis/src
|
|
# Contains the flags that atlantis uses in env var form
|
|
env_file:
|
|
- ./atlantis.env
|
|
|
|
volumes:
|
|
redis:
|
|
driver: local |