Skip to content
Snippets Groups Projects
Commit 3eab0f7a authored by Mirco Nasuti's avatar Mirco Nasuti
Browse files

bugfix in config + link config into backend container

parent 426f6f24
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,9 @@ spring:
jpa:
hibernate:
dialect: org.hibernate.dialect.PostgreSQL9Dialect
resources:
chain:
enabled: true
security:
enabled: false
......@@ -29,11 +32,6 @@ logging:
level:
org.springframework.security: DEBUG
spring:
resources:
chain:
enabled: true
server:
contextPath: /services
port: 8080
......
......@@ -12,6 +12,8 @@ services:
- "8080:8080"
links:
- "db"
volumes:
- ./config:/config
db:
container_name: db
image: postgres:9.5.3
......
FROM frolvlad/alpine-oraclejdk8:slim
VOLUME /config
COPY ./target/backend-services-DOCKER_BUILD.jar backend.jar
CMD ["java", "-jar", "backend.jar"]
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment