-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (44 loc) · 1.23 KB
/
docker-compose.yml
File metadata and controls
51 lines (44 loc) · 1.23 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
services:
bitbucket:
image: atlassian/bitbucket:latest
ports:
- "7990:7990"
- "7999:7999"
environment:
BITBUCKET_SETUP_TOKEN: ${BITBUCKET_SETUP_TOKEN:-}
BITBUCKET_SETUP_DISPLAYNAME: ${BITBUCKET_SETUP_DISPLAYNAME:-Bitbucket}
BITBUCKET_SETUP_EMAIL: ${BITBUCKET_SETUP_EMAIL:-admin@example.com}
volumes:
- bitbucket-data:/var/atlassian/application-data/bitbucket
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:7990/status || exit 1"]
interval: 30s
timeout: 10s
retries: 5
fast-agent:
build: .
container_name: fast-agent
ports:
- "8000:8000"
env_file:
- ./.env
volumes:
# Optional: mount local config for customization
- ./fastagent.config.yaml:/app/fastagent.config.yaml:ro
# SSH keys for git operations (optional)
- ~/.ssh:/tmp/.ssh:ro
# Workspace volume for git operations (read-write)
- ./workspaces:/app/workspaces:rw
command: go --servers=bitbucket,bash
gpt2giga:
build:
context: .
dockerfile: Dockerfile.gpt2giga
container_name: gpt2giga
ports:
- "8090:8090"
restart: unless-stopped
env_file:
- ./.env
volumes:
bitbucket-data: