Compare commits
No commits in common. "6530aaddd43266328af83e644dc4b89edd2cab09" and "53c76e829445ea2f8d5fe3ec83bb743b778eff42" have entirely different histories.
6530aaddd4
...
53c76e8294
@ -1,8 +1,6 @@
|
|||||||
# Start with an Alpine base image
|
# Start with an Alpine base image
|
||||||
FROM debian:latest
|
FROM debian:latest
|
||||||
|
|
||||||
RUN apt-get install -y ca-certificates
|
|
||||||
|
|
||||||
# Create a directory for our application
|
# Create a directory for our application
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
@ -1,10 +1,32 @@
|
|||||||
services:
|
services:
|
||||||
music-to-go:
|
music-to-go:
|
||||||
container_name: music-to-go
|
container_name: music-to-go
|
||||||
|
depends_on:
|
||||||
|
- music-to-go-db
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "8007:8007"
|
- "8007:8007"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- music-to-go-network
|
||||||
|
|
||||||
|
music-to-go-db:
|
||||||
|
image: postgres
|
||||||
|
container_name: music-to-go-db
|
||||||
|
restart: unless-stopped
|
||||||
|
# set shared memory limit when using docker-compose
|
||||||
|
shm_size: 128mb
|
||||||
|
volumes:
|
||||||
|
- ./db:/docker-entrypoint-initdb.d
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: root
|
||||||
|
POSTGRES_PASSWORD: root
|
||||||
|
networks:
|
||||||
|
- music-to-go-network
|
||||||
|
|
||||||
|
networks:
|
||||||
|
music-to-go-network:
|
||||||
|
driver: bridge
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user