forked from mozilla/pontoon
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 773 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (34 loc) · 773 Bytes
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
# docker-compose for Pontoon development.
#
# Note: Requires docker-compose 1.27+.
services:
server:
build:
context: .
dockerfile: ./docker/Dockerfile
target: server
image: local/pontoon
env_file:
- docker/config/server.env
depends_on:
- postgresql
ports:
- '8000:8000'
volumes:
- ./pontoon:/app/pontoon
- ./requirements:/app/requirements
- ./translate:/app/translate
- ~/.ssh:/home/pontoon/.ssh
# Database
postgresql:
image: postgres:15
environment:
# Create the superuser account
- POSTGRES_USER=pontoon
- POSTGRES_PASSWORD=asdf
- POSTGRES_DB=pontoon
volumes:
- pgdata:/var/lib/postgresql/data
# Persist database
volumes:
pgdata: null