-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdocker-compose.simple.yml
More file actions
34 lines (32 loc) · 1.1 KB
/
docker-compose.simple.yml
File metadata and controls
34 lines (32 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Simple Docker Compose (without Redis)
# Use this if you don't need caching or want a simpler setup
# The application will use in-memory caching instead
services:
atlantis:
image: strikead/atlantis:latest
container_name: atlantis
restart: unless-stopped
ports:
- '${PORT:-3000}:3000'
volumes:
# Persist diagram data - map to your preferred location
# Default: uses Docker named volume
# Custom: set ATLANTIS_DATA_DIR environment variable or edit this file
# Example: ./my-data:/app/data
- ${ATLANTIS_DATA_DIR:-atlantis_data}:/app/data
environment:
- NODE_ENV=production
# Set to 'true' to enable the external API
- ENABLE_API_ACCESS=${ENABLE_API_ACCESS:-false}
# Database connection (optional - uses SQLite if not set)
- DATABASE_URL=${DATABASE_URL:-}
# No REDIS_URL - uses in-memory caching
healthcheck:
test: ['CMD', 'wget', '--no-verbose', '--tries=1', '--spider', 'http://localhost:3000/']
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
volumes:
atlantis_data:
driver: local