Skip to content

Commit 83f8a2e

Browse files
Lukas1vLukas Verret
and
Lukas Verret
authored
Fix devcontainer sqlite (#38316)
* fix: sqlite url in docker-compose * feat: devcontainer upgrade to python 3.10 * Changed devcontainer.env back to python 3.8 * Changed devcontainer.yml back to python 3.8 --------- Co-authored-by: Lukas Verret <[email protected]>
1 parent d224ff6 commit 83f8a2e

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Apache Airflow - sqlite",
33
"dockerComposeFile": [
44
"../scripts/ci/docker-compose/devcontainer.yml",
5-
"../scripts/ci/docker-compose/backend-sqlite.yml"
5+
"../scripts/ci/docker-compose/devcontainer-sqlite.yml"
66
],
77
"settings": {
88
"terminal.integrated.defaultProfile.linux": "bash"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
---
18+
services:
19+
airflow:
20+
environment:
21+
- BACKEND=sqlite
22+
- AIRFLOW__DATABASE__SQL_ALCHEMY_CONN=sqlite:////root/airflow/sqlite/airflow.db
23+
volumes:
24+
- sqlite-db-volume:/root/airflow/sqlite
25+
volumes:
26+
sqlite-db-volume:

0 commit comments

Comments
 (0)