-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding ability to run compose from this repo
- Loading branch information
1 parent
5103e35
commit 979f6f6
Showing
2 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
CREATE TABLE nouns (word TEXT NOT NULL); | ||
CREATE TABLE verbs (word TEXT NOT NULL); | ||
CREATE TABLE adjectives (word TEXT NOT NULL); | ||
|
||
INSERT INTO nouns(word) VALUES | ||
('cloud'), | ||
('elephant'), | ||
('gø language'), | ||
('laptøp'), | ||
('cøntainer'), | ||
('micrø-service'), | ||
('turtle'), | ||
('whale'), | ||
('gøpher'), | ||
('møby døck'), | ||
('server'), | ||
('bicycle'), | ||
('viking'), | ||
('mermaid'), | ||
('fjørd'), | ||
('legø'), | ||
('flødebolle'), | ||
('smørrebrød'); | ||
|
||
INSERT INTO verbs(word) VALUES | ||
('will drink'), | ||
('smashes'), | ||
('smøkes'), | ||
('eats'), | ||
('walks tøwards'), | ||
('løves'), | ||
('helps'), | ||
('pushes'), | ||
('debugs'), | ||
('invites'), | ||
('hides'), | ||
('will ship'); | ||
|
||
INSERT INTO adjectives(word) VALUES | ||
('the exquisite'), | ||
('a pink'), | ||
('the røtten'), | ||
('a red'), | ||
('the serverless'), | ||
('a brøken'), | ||
('a shiny'), | ||
('the pretty'), | ||
('the impressive'), | ||
('an awesøme'), | ||
('the famøus'), | ||
('a gigantic'), | ||
('the gløriøus'), | ||
('the nørdic'), | ||
('the welcøming'), | ||
('the deliciøus'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
services: | ||
db: | ||
image: postgres:10.0-alpine | ||
environment: | ||
POSTGRES_USER: "postgres" | ||
POSTGRES_PASSWORD: "postgres" | ||
volumes: | ||
- ./db:/docker-entrypoint-initdb.d/ | ||
- "db-data:/var/lib/postgresql/data" | ||
- "./healthchecks:/healthchecks" | ||
healthcheck: | ||
test: /healthchecks/postgres.sh | ||
interval: "5s" | ||
|
||
|
||
api: | ||
image: ghcr.io/mostlydevops/wordsmith-api-stable:latest | ||
|
||
web: | ||
image: ghcr.io/mostlydevops/wordsmith-web-stable:latest | ||
ports: | ||
- "8080:80" | ||
|
||
volumes: | ||
db-data: {} |