Comments (5)
please share your docker-compose.yaml file or docker config. looks very like a container-misconfig
from backend.
version: '3.7'
services:
server:
image: seatsurfing/backend
restart: always
networks:
sql:
http:
ports:
- 8080:8080
environment:
POSTGRES_URL: 'postgres://seatsurfing:DB-PW@db/seatsurfing?sslmode=disable'
JWT_SIGNING_KEY: 'JWS-KEY'
BOOKING_UI_BACKEND: 'booking-ui:3001'
ADMIN_UI_BACKEND: 'admin-ui:3000'
PUBLIC_URL: 'http://ll-docker-01:8080'
FRONTEND_URL: 'http://ll-docker-01:8080'
booking-ui:
image: seatsurfing/booking-ui
restart: always
networks:
http:
environment:
FRONTEND_URL: 'http://ll-docker-01:8080'
admin-ui:
image: seatsurfing/admin-ui
restart: always
networks:
http:
environment:
FRONTEND_URL: 'http://ll-docker-01:8080'
db:
image: postgres:12
restart: always
networks:
sql:
volumes:
- db:/opt/seatsurfing/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: DB-PW
POSTGRES_USER: seatsurfing
POSTGRES_DB: seatsurfing
volumes:
db:
networks:
sql:
http:
from backend.
from backend.
postgres stores inside the container at /var/lib/postgres/data. unchangeable path.
You persist the path /opt/seatsurfing/var/lib/postgres/data - but no one uses it.
If you don't want to use volumes: local path on the left side:
volumes:
- /opt/seatsurfing/postgres:/var/lib/postgresql/data
and remove the other global volumes-section.
from backend.
Sorry for the misconfiguration, I mixed up the syntax in a hurry.
Thank you for the quick replies, everything is now working as expected! :)
from backend.
Related Issues (20)
- App restarting randomly and losing data/settings/configurations HOT 3
- Integration of Authentication provider not possible HOT 3
- MS ADFS compatibility
- Issue with web interface root, subpath works HOT 2
- Problem with setup HOT 1
- Language redirection not working HOT 1
- [Docker] Consider publishing docker images to a registry without rate-limiting HOT 2
- Backend not forwarding properly after upgrade to 1.14.x/1.15.x HOT 4
- Azure auth - Possibly your account is not activated in this organization. HOT 2
- Translation To Spanish HOT 1
- Feature: Booking Approvals
- Seatsurfing forgets the language when you pass reservations to the administration
- 405 when trying to create users using the API, maybe CORS related HOT 1
- Feature: Admin can book all desks without limitation HOT 2
- Can additional information such as phone numbers and network port numbers be displayed for each seat?
- Problem with "Umlauts" in mail subject
- Booking title/label HOT 1
- Can we add Chinese language support?
- 404 on first admin email entry HOT 1
- Booking a "seat" for a dog
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backend.