main
Matthew Huntington 2 years ago
parent 2fe574281d
commit 2a70c63be0

@ -3,4 +3,3 @@ FROM mahuntington/student:postgres
WORKDIR /home/student WORKDIR /home/student
CMD ["pg_ctlcluster", "15", "main", "start", "--foreground"] CMD ["pg_ctlcluster", "15", "main", "start", "--foreground"]
#CMD ["postgres", "-c", "max_connections=300"]

@ -3,13 +3,7 @@ version: '3'
services: services:
student: student:
image: mahuntington/student:postgres image: mahuntington/student:postgres
#command: /bin/sh
stdin_open: true stdin_open: true
tty: true tty: true
container_name: student container_name: student
links:
- postgres
postgres:
image: mahuntington/student:postgres
command: ["pg_ctlcluster", "15", "main", "start", "--foreground"] command: ["pg_ctlcluster", "15", "main", "start", "--foreground"]

Loading…
Cancel
Save